// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import com.fowo.api.common.mybatis.handlers.SysFileListTypeHandler;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * TmpStorageFeeLongterm
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "tmp_storage_fee_long_term", autoResultMap = true)
@Schema(title = "长期仓储费临时表")
public class TmpStorageFeeLongterm implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 店铺id
   */
  @TableField(value = "`sid`")
  @Schema(title = "店铺id")
  private Long sid;

  /**
   * 时间
   */
  @TableField(value = "`snapshot_date`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "时间")
  private java.util.Date snapshotDate;

  /**
   * MSKU
   */
  @TableField(value = "`sku`")
  @Schema(title = "MSKU")
  private String sku;

  /**
   * FNSKU
   */
  @TableField(value = "`fnsku`")
  @Schema(title = "FNSKU")
  private String fnsku;

  /**
   * ASIN
   */
  @TableField(value = "`asin`")
  @Schema(title = "ASIN")
  private String asin;

  /**
   * 标题
   */
  @TableField(value = "`product_name`")
  @Schema(title = "标题")
  private String productName;

  /**
   * 状况
   */
  @TableField(value = "`condition`")
  @Schema(title = "状况")
  private String condition;

  /**
   * 长期范围收费商品量
   */
  @TableField(value = "`qty_charged_long_time_range_long_term_storage_fee`")
  @Schema(title = "长期范围收费商品量")
  private Integer qtyChargedLongTimeRangeLongTermStorageFee;

  /**
   * 单个商品体积
   */
  @TableField(value = "`per_unit_volume`")
  @Schema(title = "单个商品体积")
  private String perUnitVolume;

  /**
   * 币种
   */
  @TableField(value = "`currency`")
  @Schema(title = "币种")
  private String currency;

  /**
   * 长期范围收费
   */
  @TableField(value = "`long_time_range_long_term_storage_fee`")
  @Schema(title = "长期范围收费")
  private java.math.BigDecimal longTimeRangeLongTermStorageFee;

  /**
   * 短期范围收费商品量
   */
  @TableField(value = "`qty_charged_short_time_range_long_term_storage_fee`")
  @Schema(title = "短期范围收费商品量")
  private Integer qtyChargedShortTimeRangeLongTermStorageFee;

  /**
   * 短期范围收费
   */
  @TableField(value = "`short_time_range_long_term_storage_fee`")
  @Schema(title = "短期范围收费")
  private java.math.BigDecimal shortTimeRangeLongTermStorageFee;

  /**
   * 体积单位
   */
  @TableField(value = "`volume_unit`")
  @Schema(title = "体积单位")
  private String volumeUnit;

  /**
   * 国家编码
   */
  @TableField(value = "`country_code`")
  @Schema(title = "国家编码")
  private String countryCode;

  /**
   * 是否注册亚马逊轻小商品计划
   */
  @TableField(value = "`enrolled_in_small_and_light`")
  @Schema(title = "是否注册亚马逊轻小商品计划")
  private String enrolledInSmallAndLight;

  /**
   * 国家
   */
  @TableField(value = "`country`")
  @Schema(title = "国家")
  private Long country;

  /**
   * 图片
   */
  @TableField(value = "`img`", typeHandler = SysFileListTypeHandler.class)
  @Schema(title = "图片")
  private List<SysFile> img;

  /**
   * SKU
   */
  @TableField(value = "`product_sku`")
  @Schema(title = "SKU")
  private String productSku;

  /**
   * 品名
   */
  @TableField(value = "`name`")
  @Schema(title = "品名")
  private String name;
}
